.TH std::swap(std::basic_stringbuf) 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::swap(std::basic_stringbuf) \- std::swap(std::basic_stringbuf)

.SH Synopsis
   Defined in header <sstream>
   template< class CharT, class Traits, class Alloc >
                                                                \fI(since C++11)\fP
   void swap( std::basic_stringbuf<CharT,Traits,Alloc>& lhs,    \fI(until C++20)\fP

              std::basic_stringbuf<CharT,Traits,Alloc>& rhs );
   template< class CharT, class Traits, class Alloc >

   void swap( std::basic_stringbuf<CharT,Traits,Alloc>& lhs,    \fI(since C++20)\fP
              std::basic_stringbuf<CharT,Traits,Alloc>& rhs )

       noexcept(noexcept(lhs.swap(rhs)));

   Overloads the std::swap algorithm for std::basic_stringbuf. Exchanges the state of
   lhs with that of rhs. Effectively calls lhs.swap(rhs).

.SH Parameters

   lhs, rhs - std::basic_stringbuf objects whose states to swap

.SH Return value

   \fI(none)\fP

.SH Example

    This section is incomplete
    Reason: no example

.SH See also

   swap    swaps two basic_stringbuf objects
   \fI(C++11)\fP \fI(public member function)\fP
   swap    swaps the values of two objects
           \fI(function template)\fP

.SH Category:
     * Todo no example
